{% load static %}
{% load utils %}

<div class="card my-2 {% if not item.visible %}bg-light{% endif %}">
    <div class="card-body">
        <div class="row">
            <div class="col-10">
                <h4 class="dashboard-resume-title">
                    <a href="{% url 'mainapp:resume_detail' item.id %}">{{ item.title }}</a>
                </h4>
                <h6 class="card-subtitle mb-2 text-muted">{{ item.date|date:'d.m.Y' }}</h6>
                <p class="card-text">{{ item.salary|price_format }} <span>руб.</span></p>
                <p class="about-candidate">{{ item.description}}</p>

                <!-- <a href="#" class="card-link">Подробнее</a> -->
            </div>
            <div class="col-2 text-right">
                 <a href="{% url 'mainapp:resume_detail' item.id %}" class="card-link" title="Просмотреть">
                     <i class="fa fa-eye" aria-hidden="true"></i>
                 </a>
                <a href="{% url 'mainapp:apply_to_resume' item.id%}" class="card-link" title="Пригласить">
                   <i class="fa fa-user-plus" aria-hidden="true"></i>
                </a>
            </div>
        </div>
    </div>
</div>